import Vue from 'vue'
import App from './App.vue'
import Axios from 'axios'
import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'
import router from './router'
import headers from './request-headers.js'
import VueSession from 'vue-session'
// require('../mock/mock')

Vue.config.productionTip = false

Axios.defaults.baseURL = '/laboratory'
// Axios.defaults.headers.common['access_token'] = Vue.prototype.access_token
Vue.prototype.commonHeaders = headers
Vue.prototype.$axios = Axios

Vue.use(ElementUI)
Vue.use(VueSession)


new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
